<%@ page import="gdepot.User" %>

<div class="form-group">
	<label for="username" class="col-lg-2 control-label">用户名<span class="required-indicator">*</span></label>
	<div class="col-lg-10">
		<g:textField name="username" required="" value="${userInstance?.username}" class="form-control"/>
	</div>
</div>
<div class="form-group">
	<label for="password" class="col-lg-2 control-label">口令<span class="required-indicator">*</span></label>
	<div class="col-lg-10">
		<g:textField name="password" required="" value="${userInstance?.password}" class="form-control"/>
	</div>
</div>
<div class="form-group">
	<label for="fullName" class="col-lg-2 control-label">姓名<span class="required-indicator">*</span></label>
	<div class="col-lg-10">
		<g:textField name="fullName" required="" value="${userInstance?.fullName}" class="form-control"/>
	</div>
</div>
<div class="form-group">
    <label for="gender" class="col-lg-2 control-label">性别<span class="required-indicator">*</span></label>
    <div class="col-lg-10">
        <g:textField name="gender" required="" value="${userInstance?.gender}" class="form-control"/>
    </div>
</div>
<div class="form-group">
	<label for="email" class="col-lg-2 control-label">邮箱<span class="required-indicator">*</span></label>
	<div class="col-lg-10">
		<g:textField name="email" required="" value="${userInstance?.email}" class="form-control"/>
	</div>
</div>
<div class="form-group">
	<label for="phone" class="col-lg-2 control-label">电话<span class="required-indicator">*</span></label>
	<div class="col-lg-10">
		<g:textField name="phone" required="" value="${userInstance?.phone}" class="form-control"/>
	</div>
</div>


<div class="form-group">
	<label for="address" class="col-lg-2 control-label">地址<span class="required-indicator">*</span></label>
	<div class="col-lg-10">
		<g:textField name="address" required="" value="${userInstance?.address}" class="form-control"/>
	</div>
</div>



<div class="form-group">
	<label for="enabled" class="col-lg-2 control-label"></label>
	<div class="col-lg-10">
		<div class="checkbox">
			<label>
				<g:checkBox name="enabled" value="${userInstance?.enabled}"></g:checkBox>
				<span class="required-indicator">*</span>
				是否有效
			</label>
		</div>
	</div>
</div>

<div class="form-group">
	<label for="accountExpired" class="col-lg-2 control-label"></label>
	<div class="col-lg-10">
		<div class="checkbox">
			<label>
				<g:checkBox name="accountExpired" value="${userInstance?.accountExpired}"></g:checkBox>
				<span class="required-indicator">*</span>
				帐户过期
			</label>
		</div>
	</div>
</div>
<div class="form-group">
	<label for="accountLocked" class="col-lg-2 control-label"></label>
	<div class="col-lg-10">
		<div class="checkbox">
			<label>
				<g:checkBox name="accountExpired" value="${userInstance?.accountLocked}"></g:checkBox>
				<span class="required-indicator">*</span>
				帐户锁定
			</label>
		</div>
	</div>
</div>

<div class="form-group">
	<label for="passwordExpired" class="col-lg-2 control-label"></label>
	<div class="col-lg-10">
		<div class="checkbox">
			<label>
				<g:checkBox name="passwordExpired" value="${userInstance?.passwordExpired}"></g:checkBox>
				<span class="required-indicator">*</span>
				口令过期
			</label>
		</div>
	</div>
</div>

